#include <stdio.h>

int main()
{
    int nCase;
    scanf("%d", &nCase);
    while (nCase--)
    {
        double pound;
        scanf("%lf", &pound);
        printf("%.2lf %.2lf\n", pound, pound * 454);
    }
    return 0;
}
